const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:true,//关闭语法检测
  devServer:{//中间代理人
    host:'localhost',
    open:true,
    proxy:{
      ['/dev-api']:{//暗号
        target:"http://81.70.184.73",//真正请求的地址
        changeOrigin:true,
        pathRewrite:{
          '^/dev-api':''
        }
      }
    }
  }
})
